package edu.cibertec.service;

import java.util.ArrayList;

import edu.cibertec.bean.ExpedienteResponsableDTO;
import edu.cibertec.fabrica.DAOFactory;
import edu.cibertec.interface1.ExpedienteResponsableDAO;

public class ExpedienteResponsableService implements ExpedienteResponsableDAO {

	DAOFactory factoria = DAOFactory.getFactorty(DAOFactory.MYSQL);
	ExpedienteResponsableDAO dao = factoria.getExpedienteResponsableDAO();
	
	@Override
	public ArrayList<ExpedienteResponsableDTO> buscarCliente(
			ExpedienteResponsableDTO x) {
		// TODO Auto-generated method stub
		return null;
	}
	@Override
	public ArrayList<ExpedienteResponsableDTO> listaExpedienteResponsable()
			throws Exception {
		// TODO Auto-generated method stub
		return null;
	}
	@Override
	public int registrarExpedienteResponsable(ExpedienteResponsableDTO x)
			throws Exception {
		return dao.registrarExpedienteResponsable(x);
	}
	@Override
	public int eliminarExpedienteResponsable(ExpedienteResponsableDTO x)
			throws Exception {
		// TODO Auto-generated method stub
		return 0;
	}
	@Override
	public int actualizarExpedienteResponsable(ExpedienteResponsableDTO x)
			throws Exception {
		// TODO Auto-generated method stub
		return 0;
	}
	@Override
	public ExpedienteResponsableDTO obtenerExpedienteResponsable(
			ExpedienteResponsableDTO x) throws Exception {
		// TODO Auto-generated method stub
		return dao.obtenerExpedienteResponsable(x);
	}
}
